
//----------------------------
// TABLE A14: Staff FE (House)
//----------------------------

clear
use staff_FE_house.dta

macro define member_char1 "majority dwnom1 budget chair subchr seniority maj_leader min_leader power dem membecamelob female afam latino state_leg south_dem"
macro define member_char2 "majority dwnom1 budget chair subchr seniority maj_leader min_leader power"

gen lnles = ln(les +1)

set matsize 10000
eststo clear
eststo: quietly areg lnles $member_char1 i.congress i.icpsr, a(core_person_id) vce(cluster icpsr)
esttab, star(* 0.10 ** 0.05 *** 0.01) ar2
predict d, d

by core_person_id, sort: gen tt = 1 if _n == 1

eststo clear
eststo: quietly reg d becamelobbyist female if tt==1, robust
eststo: quietly reg d becamelobbyist female jdphd if tt == 1, robust
esttab, star(* 0.10 ** 0.05 *** 0.01) se ar2
